package com.wx.commons.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(name = "UserRoleInfo",description = "用户角色详情")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {

    @Schema(name = "userId",description = "用户id")
    private Long userId;

    @Schema(name = "username",description = "用户名")
    private String username;

    @Schema(name = "password",description = "密码")
    private String password;

    @Schema(name = "userStatus",description = "用户状态")
    private Integer userStatus;

    @Schema(name = "tenantId",description = "用户状态")
    private Long tenantId;

    @Schema(name = "roleId",description = "权限id")
    private String roleId;

    @Schema(name = "roleName",description = "权限名")
    private String roleName;

    @Schema(name = "roleStatus",description = "角色状态")
    private Integer roleStatus;

    @Schema(name = "orgId",description = "机构id")
    private Long orgId;

    @Schema(name = "orgName",description = "机构名")
    private String orgName;

}